package study.spring.transaction.anno;

public interface JdbcAnnoService {

	/**
	 * 测试默认runtimeexception 结果数据没有添加进去
	 * 
	 * @param t
	 */
	void insertRuntimeEx(final AnnoEditLink t);

	/**
	 * 测试默认check exception 结果数据添加进去
	 * 
	 * @param t
	 */
	void insertCheckEx(AnnoEditLink t) throws Exception;
	
	/**
	 * 通过方法注解使runtimeexception不进行回滚
	 * @param t
	 * @throws Exception
	 */
	void insertRuntimeEx() throws Exception;
	
}
